package com.qidian.by.search.dto;

import java.util.List;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-05-16 16:16
 **/

public class SearchResultDTO {
    private Integer page;
    private Integer limit;
    private String kw;
    private List<SearchItem> records;
    private Integer total;

    public SearchResultDTO() {
    }

    public Integer getPage() {
        return page;
    }

    public SearchResultDTO setPage(Integer page) {
        this.page = page;
        return this;
    }

    public Integer getLimit() {
        return limit;
    }

    public SearchResultDTO setLimit(Integer limit) {
        this.limit = limit;
        return this;
    }

    public String getKw() {
        return kw;
    }

    public SearchResultDTO setKw(String kw) {
        this.kw = kw;
        return this;
    }

    public List<SearchItem> getRecords() {
        return records;
    }

    public SearchResultDTO setRecords(List<SearchItem> records) {
        this.records = records;
        return this;
    }

    public Integer getTotal() {
        return total;
    }

    public SearchResultDTO setTotal(Integer total) {
        this.total = total;
        return this;
    }

}
